home *** CD-ROM | disk | FTP | other *** search
- Path: inferno.mpx.com.au!jolt!nring
- From: nring@jolt.mpx.com.au (Nick Ring)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Help with AREXX problem.
- Date: 5 Jan 1996 18:24:55 GMT
- Organization: Microplex Pty Ltd
- Message-ID: <4cjqdn$l0n@inferno.mpx.com.au>
- References: <4cj36d$v5v@gidora.kralizec.net.au>
- NNTP-Posting-Host: jolt.mpx.com.au
- X-Newsreader: TIN [version 1.2 PL2]
-
- Andrew Bruno (abruno@godzilla.zeta.org.au) wrote:
- : Help!
- : Here is two little scripts I wrote for a program/H/W device called
- : airlink that I
- : have.
- :
- : Below is a list of a test script I put together to see where I could
- : position the
- : transmitter.....
- :
- : IT WORKS!
- :
- : /* Sanyo test script for AirLink */
- : loop:
- : j = 0
- : do while j < 1000
- : j = j+1
- : end
- : say 'beep' /* this should be a &h07, but the editor doesn't like
- : that */
-
- try-
- say '07'x
-
- : address national
- : 'output ir<power>'
- : signal loop
- : /* the end */
- :
-
- : Now I wanted to write a program so I can execute functions from other
- : programs,
- : and wrote this as a "macro" kind of thing.....
- :
-
- : /* Arexx script for use with Scala and Airlink. */
- :
- : options results
- : PARSE ARG blah1" "blah2
- :
- : say blah1
- : say blah2
- :
- : address blah1
-
- This will change the host to 'BLAH1'. To use the host stored in the
- variable 'blah1' use the command 'address VALUE blah1'.
-
- : 'output ir<'blah2'>'
- :
- : exit
- :
- : /* the end */
- :
-
- : I think you can see what I am wanting to do here.... It is rather simple.
- :
- : IT DOESN'T WORK!
- :
- : Yes, the host environment is there.
- :
- : I can even run the top script, stop it and run the lower one and it
- : doesn't work.
- :
- : The lines say blah1 and say blah2 are only so I could check it was
- : being accepted
- : correctly.
- :
-
- : Any ideas?
- :
- : Andrew
-
- : (p.s. As I am not always here to read the replies, could you reply
- : direct to me?)
-
- : TIA
-
-